We provide multiple options for downloading the Design System, as well as specific downloads for icons, design tokens and swatches.
Find us on GitHub
Instead of downloading the Design System you can also fork or clone it on GitHub.Design System on GitHub
Design System npm Package
If you use npm in your local development environment, it can be installed with the following command:
npm install @salesforce-ux/design-system --save
Design System Bower Package
If you use Bower in your local development environment, it can be installed with the following command:
bower install salesforce-lightning-design-system --save
Design System Zip
Download the pre-built CSS framework, font and icons to include in your project. See the release notes for details on the latest updates.
Design System Unmanaged Package
If you are working within a Salesforce org, the Design System can be installed directly as an unmanaged package:
Download all icon sets. Each icon is available as SVG and in two different PNG sizes.
All icons are licensed under Creative Commons Attribution-NoDerivatives 4.0.
Design Tokens are available in multiple formats depending on which technology your application uses. For web-based applications, you can use our tokens as variables through CSS preprocessors Sass, Less, and Stylus. We recommend Sass as we use it internally, it is well-documented, and is the industry standard.
For native applications, our tokens are available in XML and JSON formats for the Android and iOS platforms, respectively.
You can import color swatches for use in design applications like Photoshop and Sketch. Since the CLR format does not include the alpha value, we’ve appended each color’s name with it.